package com.flower.salary.service;

import com.flower.salary.domain.bo.DeptInfoBO;
import com.flower.salary.domain.entity.SysDept;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-01-20 20:41
 */
public interface SysDeptService {

    List<SysDept> queryAll();

    int updateDeptInfo(DeptInfoBO infoBO);
    int createDept(DeptInfoBO infoBO);

    int deleteDept(String id);


}
